package com.guoby.exception;

/**
 * Created by pactera on 2018/3/16.
 */
public class UserException extends RuntimeException {

    private Integer code;

    public UserException(Integer code, String msg){
        super(msg);
        this.setCode(code);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
